package com.hyphenate.easeui.helper;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/5/4.
 */

public class UserInfoBean implements IModel {


    /**
     * error_code : 0
     * msg : 成功
     * data : [{"user_phone":"18224477029","user_nickname":"我不是潘金莲","user_sex":"1","birthday":"2017-05-11","age":1,"user_logo":"http://test.inviter.net//Public/uploads/app/2017-03-17/58cb7523c4c6a.png","num_activity":0,"num_invite":0,"num_collection":0},{"user_phone":"15182647845","user_nickname":"゛后，╰青春期旳诗﹌","user_sex":"2","birthday":"0000-00-00","age":"47","user_logo":"http://q.qlogo.cn/qqapp/1105664359/CEEA7CE985200A913EF56595CD75C23B/100","num_activity":0,"num_invite":0,"num_collection":0},{"user_phone":"18682646016","user_nickname":"大娃","user_sex":"0","birthday":"0000-00-00","age":"47","user_logo":"http://aaa.com/Public/system/avatar.png","num_activity":0,"num_invite":0,"num_collection":0}]
     */

    private String error_code;
    private String msg;
    private List<DataBean> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {


        /**
         * "eid": "10001"
         * user_phone : 18224477029
         * user_nickname : 我不是潘金莲
         * user_sex : 1
         * birthday : 2017-05-11
         * age : 1
         * user_logo : http://test.inviter.net//Public/uploads/app/2017-03-17/58cb7523c4c6a.png
         * num_activity : 0
         * num_invite : 0
         * num_collection : 0
         */
        private String eid;
        private String user_phone;
        private String user_nickname;
        private String user_sex;
        private String birthday;
        private String age;
        private String user_logo;
        private String num_activity;
        private String num_invite;
        private String num_collection;

        public String getEid() {
            return eid;
        }

        public void setEid(String eid) {
            this.eid = eid;
        }

        public String getUser_phone() {
            return user_phone;
        }

        public void setUser_phone(String user_phone) {
            this.user_phone = user_phone;
        }

        public String getUser_nickname() {
            return user_nickname;
        }

        public void setUser_nickname(String user_nickname) {
            this.user_nickname = user_nickname;
        }

        public String getUser_sex() {
            return user_sex;
        }

        public void setUser_sex(String user_sex) {
            this.user_sex = user_sex;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public String getUser_logo() {
            return user_logo;
        }

        public void setUser_logo(String user_logo) {
            this.user_logo = user_logo;
        }

        public String getNum_activity() {
            return num_activity;
        }

        public void setNum_activity(String num_activity) {
            this.num_activity = num_activity;
        }

        public String getNum_invite() {
            return num_invite;
        }

        public void setNum_invite(String num_invite) {
            this.num_invite = num_invite;
        }

        public String getNum_collection() {
            return num_collection;
        }

        public void setNum_collection(String num_collection) {
            this.num_collection = num_collection;
        }
    }
}
